#!/usr/bin/env python
# -*- coding: UTF-8 -*-

import logging
import os
import sys

TESTDIR = os.path.dirname(os.path.abspath(__file__))
MODULEDIR = os.path.dirname(TESTDIR)
ORIOLUSDIR = os.path.dirname(MODULEDIR)
PACKAGEDIR = os.path.dirname(ORIOLUSDIR)

if PACKAGEDIR not in sys.path:
    sys.path.append(PACKAGEDIR)

#TRUNKDIR = os.path.dirname(PACKAGEDIR)
#PITHDIR = os.path.join(TRUNKDIR, "OriolusPith")
#
#if PACKAGEDIR not in sys.path:
#    sys.path.append(PACKAGEDIR)
#
#if PITHDIR not in sys.path:
#    sys.path.append(PITHDIR)

#logging.basicConfig(level = logging.DEBUG,
#                    format = "%(asctime)s [%(thread)d] %(filename)s lines=%(lineno)d %(levelname)-5s %(name)s - %(message)s",
#                    filename='./oriuolus.docker.log',
#                    filemode='w')
logging.basicConfig(level = logging.ERROR, format = "[%(levelname)s] %(message)s", )
